@extends('home.layout')
@section('content')
    <!-- ngView:  -->
    <div class="ng-scope" ng-view="" role="main">
        <div profile-container="" page-name="profile" page-title="个人中心" page-title-visible="false"
             class="profile profile-container container">
            <div class="clearfix">
                <div location="" class="location" ng-style="{visibility: geohash ? '' : 'hidden'}" role="navigation">
                    <span>当前位置:</span> <ul
                                class="dropbox location-dropbox" ubt-visit="398"><li class="arrow"></li>
                            <!-- ngRepeat: userPlace in userPlaces | filter:filterPlace | limitTo: 4 --><li
                                    class="changelocation"><a href="{{asset('')}}home" ng-href="/home"
                                                              hardjump="">修改收货地址<span class="icon-location"></span></a></li></ul></span>
                    <span ng-transclude=""><i class="icon-arrow-right ng-scope"></i><span
                                class="ng-binding ng-scope">个人中心</span></span>
                </div>
                <div search-input=""></div>
            </div>
            <ul profile-sidebar="" class="profile-sidebar" role="navigation">
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle active"
                                                        ng-class="{ active: pageName === 'profile' }"><i
                                class="icon-line-home"></i><a href="{{asset('')}}profile">个人中心</a></h2></li>
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle"><i
                                class="icon-line-order"></i>我的订单</h2>
                    <ul>
                        <li ng-class="{ active: pageName === 'order' }"><a
                                    href="{{asset('')}}profile/order">近三个月订单</a>
                        </li>
                        <li ng-class="{ active: pageName === 'order-unrated' }"><a
                                    href="{{asset('')}}profile/order/unrated">待评价订单
                                <!-- ngIf: unratedNumber --></a></li>
                    </ul>
                </li>
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle"><i
                                class="icon-line-profile"></i>我的资料</h2>
                    <ul>
                        <li ng-class="{ active: pageName === 'info' }"><a
                                    href="{{asset('')}}profile/info">个人资料</a></li>
                        <li ng-class="{ active: pageName === 'address' }"><a
                                    href="{{asset('')}}profile/address">地址管理</a>
                        </li>
                        <li ng-class="{ active: pageName === 'changepassword' }"><a
                                    href="{{asset('')}}profile/security/changepassword">修改密码</a></li>
                    </ul>
                </li>
                <li class="profile-sidebar-section"><h2 class="profile-sidebar-sectiontitle"
                                                        ng-class="{ active: pageName === 'favor' }"><a
                                href="{{asset('')}}profile/favor"><i class="icon-order-favor"></i>我的收藏</a></h2>
                </li>
            </ul>
            <div class="profile-panel" role="main"><!-- ngIf: pageTitleVisible -->
                <div class="profile-panelcontent" ng-transclude="">
                    <div class="profile-info ng-scope">
                        <div class="profile-infoitem">
                            <div class="profile-avatarwrap"><img
                                        src="{{asset('home/profile/images/default-avatar.38e40d.png')}}"
                                        ng-show="avatarUrl"
                                        alt="鱼丸粗面0yKw的头像" class="profile-avatar"> <a
                                        href="{{asset('')}}profile/info" class="profile-edit">编辑资料</a></div>
                            <div class="profile-perosondata"><h3 class="profile-name ng-binding">晚上好，<strong
                                            class="ng-binding">鱼丸粗面0yKw</strong></h3>
                                <p class="profile-tips ng-binding" ng-bind="timeSection.tipText">晚饭叫外卖，不吸油烟，不洗碗筷！</p>

                                <p class="profile-othermessage"><!-- ngIf: user.is_mobile_valid -->
                                    <!-- ngIf: user.is_email_valid --> <!-- ngIf: !user.is_mobile_valid --><a
                                            ng-if="!user.is_mobile_valid"
                                            class="icon mobile icon-profile-phone none ng-scope" tooltip="未绑定手机"></a>
                                    <!-- end ngIf: !user.is_mobile_valid --> <!-- ngIf: !user.is_email_valid --><a

                                            class="icon email icon-profile-email none ng-scope"
                                            ng-if="!user.is_email_valid" tooltip="未绑定邮箱"></a>
                                    <!-- end ngIf: !user.is_email_valid --></p></div>
                        </div>
                        <div class="profile-infoitem"><a class="inherit" href="{{asset('')}}profile/hongbao"><p>
                                    我的红包</p>
                                <p class="profile-infoitem-number hongbao"><span class="number ng-binding"
                                                                                 ng-bind="hongbaocount">0</span>个</p>
                            </a></div>
                        <div class="profile-infoitem"><a class="inherit" href="{{asset('')}}profile/points"><p>
                                    我的积分</p>
                                <p class="profile-infoitem-number score"><span class="number ng-binding"
                                                                               ng-bind="user.point">0</span>分</p></a>
                        </div>
                        <div class="profile-infoitem"><a class="inherit" href="{{asset('')}}profile/balance"><p>
                                    账户余额</p>
                                <p class="profile-infoitem-number balance"><span class="number ng-binding"
                                                                                 ng-bind="user.balance| number : 2">0.00</span>元
                                </p></a></div>
                    </div>
                    <div class="profile-order ng-scope">
                        <div class="tabnavigation"><a class="tabnavigation-navitem active">最近订单</a> <a
                                    class="tabnavigation-rightitem profile-allorder"
                                    href="{{asset('')}}profile/order">查看全部订单&gt;</a></div>
                        <div class="profile-order-content">
                            <div loading="" content="正在载入最近订单..." ng-show="orderLoading"
                                 class="loading ng-binding ng-isolate-scope ng-hide"><!-- ngIf: type==='profile' --><img
                                        class="ng-scope" ng-if="type==='profile'"
                                        src="{{asset('home/profile/images/profile-loading.4984fa.gif')}}"

                                        alt="正在加载"><!-- end ngIf: type==='profile' --> <!-- ngIf: type==='normal' -->
                                正在载入最近订单...
                            </div><!-- ngRepeat: order in recentOrder -->
                            <!-- ngIf: !recentOrder.length && !orderLoading -->
                            <div ng-if="!recentOrder.length &amp;&amp; !orderLoading" nodatatip=""
                                 content="你最近没有下过单哦，现在就去<a href='/place'>订餐</a>吧~" class="nodata ng-isolate-scope"><p
                                        class="nodata-container ng-binding" ng-bind-html="content | toTrusted">
                                    你最近没有下过单哦，现在就去<a href="{{asset('')}}place">订餐</a>吧~</p></div>
                            <!-- end ngIf: !recentOrder.length && !orderLoading --></div>
                    </div>
                    <div class="profile-footprint ng-scope">
                        <div class="tabnavigation"><a class="tabnavigation-navitem active">美食足迹</a> <a
                                    class="tabnavigation-navitem" href="{{asset('')}}profile/favor">我的收藏</a>
                            <div class="tabnavigation-rightitem ng-scope ng-binding simplepagination"
                                 simplepagination="" pagination-context="restaurantContext"
                                 ng-show="restaurantContext.data.length">1/1 <span
                                        class="pre-btn icon-profile-left-arrow disable"
                                        ng-class="{'disable':currentPage===1}"></span> <span
                                        class="next-btn icon-profile-right-arrow disable"
                                        ng-class="{'disable':currentPage===pageCount}"></span></div>
                        </div>
                        <div class="footprint-content clearfix">
                            <div loading="" content="正在载入美食足迹..." ng-show="footDateLoading"
                                 class="loading ng-binding ng-isolate-scope ng-hide"><!-- ngIf: type==='profile' --><img
                                        class="ng-scope" ng-if="type==='profile'"
                                        src="{{asset('home/profile/images/profile-loading.4984fa.gif')}}"

                                        alt="正在加载"><!-- end ngIf: type==='profile' --> <!-- ngIf: type==='normal' -->
                                正在载入美食足迹...
                            </div><!-- ngRepeat: restaurant in restaurantContext.pageData --><a
                                    href="{{asset('')}}shop/1300459"
                                    ng-repeat="restaurant in restaurantContext.pageData"
                                    data="{ $restaurant: restaurant }" class="noline rstblock ng-isolate-scope"
                                    data-rst-id="1300459"
                                    ng-class="{'rstblock-closed': !restaurant.is_opening || restaurant.in_delivery_area === false}"
                                    ng-href="/shop/1300459" data-bidding="" target="_blank">
                                <div class="rstblock-logo"><img
                                            src="{{asset('home/profile/images/2354b2045706b590caf9378fca9eepng.png')}}"

                                            class="rstblock-logo-icon"
                                            ng-src="//fuss10.elemecdn.com/6/43/2354b2045706b590caf9378fca9eepng.png?imageMogr2/thumbnail/70x70"
                                            alt="小蜀娘家常菜" height="70" width="70">
                                    <!-- ngIf: restaurant.order_lead_time_text --><span class="ng-binding ng-scope"
                                                                                        ng-if="restaurant.order_lead_time_text"
                                                                                        ng-bind="restaurant.order_lead_time_text + ' 分钟'"
                                                                                        ng-class="{'rstblock-left-timeout': restaurant.order_lead_time_text === '45+'}">40 分钟</span>
                                    <!-- end ngIf: restaurant.order_lead_time_text -->
                                    <!-- ngIf: restaurant.is_premium --></div>
                                <div class="rstblock-content">
                                    <div class="rstblock-title ng-binding" ng-bind="restaurant.name">小蜀娘家常菜</div>
                                    <div class="starrating icon-star"><span style="width: 70%;" class="icon-star"
                                                                            ng-style="{ width: (restaurant.rating * 20 || 0) + '%' }"></span>
                                    </div>
                                    <span class="rstblock-monthsales ng-binding"
                                          ng-bind="'月售' + restaurant.recent_order_num + '单'">月售2789单</span>
                                    <div class="rstblock-cost ng-binding" ng-bind="restaurant.delivery_text">20元起送 /
                                        配送费5元
                                    </div>
                                </div>
                            </a><!-- end ngRepeat: restaurant in restaurantContext.pageData -->
                            <!-- ngIf: !restaurantContext.pageData.length && !footDateLoading --></div>
                    </div>
                </div>
            </div>
        </div>
    </div>

@endsection